import request from "@/utils/request";
// @ts-ignore
import qs from "qs";
import {DefaultResult, MenuData} from "@/apis/types";

export enum MenuApiPaths{
    queryAll="/core/menu/list"
}

export const QUERY_ALL_MENU_BY_CONDITION = (params:any) => {
    return request.get<DefaultResult<MenuData[] >>({
        url: MenuApiPaths.queryAll,
        showLoading: false
    })
}
